package com.forclass;

public class LayzzyTest {
    public static void main(String[] args) {
        for (int x=0;x<10;x++) {
            new Thread(()->{
                LayzzySingleton2 lay2 = LayzzySingleton2.getInstance();
                System.out.println(lay2);
            },"单例操作线程"+ x).start();
        }
    }
}
